package fr.afcepf.ai89.esharing.metier;

import java.util.List;

import fr.afcepf.ai89.esharing.entity.MessagePrive;
import fr.afcepf.ai89.esharing.entity.Proprietaire;

public interface IBusinessCommunication {
	
	List<MessagePrive> getMsgsPrivesRecus(Proprietaire des);
	List<MessagePrive> getMsgsPrivesEnvoyes(Proprietaire exp);
	
	int envoyerMsgPrive(MessagePrive msg);
	
	MessagePrive ouvrirMsgPriveLu(int idMsgPrive);
	MessagePrive ouvrirMsgPriveNonLu(int idMsgPrive);
	
}	
